package java9_1;

/**
 * @author oldliu
 * @since 1.0
 */
public class TestSonar {
    public static void main(String[] args) {
        Sonar s=new Sonar("反潜---1");
        Fish f=new Fish("鲤鱼","跳龙门");
        Submarine m=new Submarine("大西洋号");
        s.scan(f);
        s.scan(m);
    }
}
